<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model app\modules\Admin\models\Detail */

$this->title = sprintf("创建%s",\yii::$app->params['detail_type'][$model->detail_type]);
$this->params['breadcrumbs'][] = ['label' => sprintf("%s列表",\yii::$app->params['detail_type'][$model->detail_type]), 'url' => ['index','detail_type'=>$model->detail_type]];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="detail-create panel panel-body">

    <!-- <h1></?= Html::encode($this->title) ?></h1> -->

    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>

</div>
